package com.industrial.premu.mapper;

import com.industrial.premu.domain.PreMuEvaluationDataSubmission;
import com.industrial.premu.dto.PreMuEvaluationDataSubmissionDto;
import com.industrial.premu.vo.PreMuEvaluationDataSubmissionVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PreMuEvaluationDataSubmissionMapper {

    List<PreMuEvaluationDataSubmission> selectSubmissionByUsccAndYear(@Param("uscc") String uscc, @Param("year") String year);

    void insertData(@Param("dataSubmission") PreMuEvaluationDataSubmission dataSubmission);

    List<PreMuEvaluationDataSubmissionVo> selectList(@Param("dto") PreMuEvaluationDataSubmissionDto dto);

    PreMuEvaluationDataSubmissionVo selectDataSubmissionById(@Param("id") String id);

    void updateDataById(@Param("dataSubmission") PreMuEvaluationDataSubmission dataSubmission);

    void updateDataByIds(@Param("dto") PreMuEvaluationDataSubmissionDto dto);
}
